f(dynamic x, dynamic i) {
  ++x?[i];
}